package com.medical.admin.sys.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.medical.admin.sys.common.dto.AdminDto;
import com.medical.admin.sys.common.dto.BatchDto;
import com.medical.admin.sys.entity.Admin;

import java.util.List;

/*
 * @Date : 2024/4/26 下午9:54
 * @Created by Lang
 * @ProjectName : medical-appointment-registration
 */
public interface AdminService {
    Integer add(AdminDto adminDto);


    Integer modAdmin(AdminDto adminDto);

    Page<AdminDto> list(String adminAccount, Integer pageNum, Integer pageSize);


    Integer modStatus(Long adminId, Integer adminStatus);

    Integer delBatch(Long[] adminIds);

    Integer del(Long adminId);

    AdminDto selectById(Long adminId);

    Admin getAdminByAccount(String adminAccount);

    AdminDto login(String adminAccount, String adminPassword);

    Integer rePassword(String adminId, String adminPassword);
}
